import router from '@system.router';

export default {
    props: {
        titleName: {
            default: ''
        },
        titleIcon: {
            default: ''
        },
        backIcon: {
            default: ''
        },
        buttonStyles: {
            default: ''
        }
    },
    back() {
        this.$emit('backType', {});
    },
    backChangeBackground() {
        this.buttonStyles = 'app-title-back-image-change-background'
    },
    defBackRouter() {
        router.back();
    }
}
